using UnityEngine;

namespace GoogleMobileAds.Mediation.UnityAds.Api
{
    // [Assembly-CSharp.dll].GoogleMobileAds.Mediation.UnityAds.Api.UnityAds
    public class UnityAds
    {
        // Fields
        internal static readonly GoogleMobileAds.Mediation.UnityAds.Common.IUnityAdsClient client;
        
        // Methods
        public static void SetConsentMetaData(string key, bool metaDataValue)
        {
            var val_3;
            var val_4;
            val_3 = 536895103;
            if(mem[536895327] == 0)
            {
                    val_3 = 536895103;
            }
            
            var val_4 = mem[536895287];
            var val_3 = mem[536895287] + 298;
            if(val_3 == 0)
            {
                goto label_3;
            }
            
            var val_2 = mem[536895287] + 176;
            val_2 = val_2 + 8;
            label_5:
            if(((mem[536895287] + 176 + 8) + -8) == 536887917)
            {
                goto label_4;
            }
            
            val_3 = val_3 - 1;
            val_2 = val_2 + 16;
            if(((mem[536895287] + 176 + 8) + -8) != 536887917)
            {
                goto label_5;
            }
            
            label_3:
            val_4 = mem[536895287];
            goto label_6;
            label_4:
            val_4 = val_4 + (((mem[536895287] + 176 + 8)) << 4);
            val_4 = val_4 + 312;
            label_6:
            bool val_1 = metaDataValue;
            goto ((mem[536895287] + ((mem[536895287] + 176 + 8)) << 4) + 312);
        }
        public UnityAds()
        {
        
        }
        private static UnityAds()
        {
            mem2[0] = GoogleMobileAds.Mediation.UnityAds.UnityAdsClientFactory.CreateUnityAdsClient();
        }
    
    }

}
